﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Reflection;
using System.Web;
using System.Configuration;
namespace DAL
{
    public class EnvInfo
    {
        public static string ConnectionString
        {
            get
            {
                return (string)ConfigurationManager.ConnectionStrings["DBShoppingCartConnectionString"].ConnectionString;
            }
        }       
        public static string MainPublicRoot
        {
            get
            {

                return System.Configuration.ConfigurationSettings.AppSettings["MainPubUrl"];
            }

        }
        public static string MainRoot
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["MainRoot"];
            }
        }
        public static string FolderRoot
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["FolderRoot"];
            }
        }
        public static string PathUpload
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["PathUpload"];
            }
        }
        public static string PathConfigPermiss
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["PathConfigPermiss"];
            }
        }
        public static string PathRoot
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["PathRoot"];
            }
        }
        public static string HttpRoot
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["HttpRoot"];
            }
        }
        public static string SiteUrl
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["SiteUrl"];
            }
        }
        public static string MainTitle
        {
            get
            {
                return (string)System.Configuration.ConfigurationSettings.AppSettings["MainTitle"];
            }
        }  
       
    }
}
